﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using V5_Common.FrameWork;
using System.Web.UI;

namespace V5_Data {
    public class V5LoadHelper : BaseToolsHelper {
        private static readonly V5LoadHelper m_Instance = new V5LoadHelper();
        /// <summary>
        /// 
        /// </summary>
        public static V5LoadHelper Instance {
            get { return m_Instance; }
        }
        public string LoadAdminHeader(Page p) {
            StringBuilder sb = new StringBuilder();
            sb.AppendLine(Css(p, "Includes/CSS/Admin/1/Admin_CSS.css"));
            sb.AppendLine(Css(p, "Scripts/jquery/jquery-ui/css/redmond/jquery-ui.css"));
            sb.AppendLine(Script(p, "Scripts/jquery.js"));
            sb.AppendLine(Script(p, "Scripts/jquery/jquery-ui/jquery-ui.js"));
            sb.AppendLine(Script(p, "Scripts/jquery/jquery.validate/jquery.validate.js"));
            sb.AppendLine(Script(p, "includes/ckeditor/ckeditor.js"));
            sb.AppendLine(Script(p, "Scripts/My97DatePicker/WdatePicker.js"));
            sb.AppendLine(Script(p, "admin/Scripts/admin.js"));
            return sb.ToString();
        }
    }
}